<?php	
	//Connexion à la BDD
	mysql_connect("localhost", "shop", "bb38f22jmtJQQZGG");
	mysql_select_db("vanadium");mysql_query("SET NAMES 'UTF8'");
	
	$retour_infos_shop = mysql_query("SELECT * FROM shop WHERE id_shop='$shop'") or die(mysql_error()) ;
	$infos_shop = mysql_fetch_array($retour_infos_shop);
	
	if($infos_shop['droit_ajout_brousouf']==1)
	{
		echo "
		<div id='corps'>
			<div id='titre_credit_compte'>Créditer un compte</div>
			<form method='get' action='../commun_shop/modules/demande_confirmation_ajout_brousoufs.php'>
				<div id='zone_recherche_compte'>
					Num's :
					<input type='text' id='recherche_compte' name='id_consommateur'/>
					<br/>
					<br/>
					Montant du crédit : 
					<input type='text' id='somme_credit' name='somme'/> €
				</div>
				</form>
				<div id ='bouton_achat'>
					<a href='../commun_shop/modules/demande_confirmation_ajout_brousoufs.php' class='colorbox' title='Demande Confirmation Conso'>
						<input type='submit' value='Créditer' id='bouton'/>
					</a>
				</div>

		</div>
		";
	}
	else
	{
		header('location: ./admin.php');
	}
	//Fermeture de la connexion
	mysql_close();
?>